package com.qixin.modules.eaApplication.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 出差申请变更单
 * @Author: qixin-boot
 * @Date:   2021-07-02
 * @Version: V1.0
 */
@ApiModel(value="ea_business_apply_change对象", description="出差申请变更单")
@Data
@TableName("ea_business_apply_change")
public class EaBusinessApplyChange implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    private transient java.lang.String createByName;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    private transient java.lang.String updateByName;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    private transient java.lang.String sysOrgCodeName;
	/**单据编号*/
	@Excel(name = "单据编号", width = 15)
    @ApiModelProperty(value = "单据编号")
    private java.lang.String billNo;
	/**单据日期*/
	@Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "单据日期")
    private java.util.Date billDate;
	/**单据状态*/
	@Excel(name = "单据状态", width = 15, dicCode = "BillState")
    @Dict(dicCode = "BillState")
    @ApiModelProperty(value = "单据状态")
    private java.lang.Integer state;
    private transient java.lang.String stateName;
	/**申请人id*/
	@Excel(name = "申请人id", width = 15)
    @ApiModelProperty(value = "申请人id")
    private java.lang.String personId;
    private transient java.lang.String personIdName;
	/**出差申请单*/
	@Excel(name = "出差申请单", width = 15)
    @ApiModelProperty(value = "出差申请单")
    private java.lang.String eaBusinessApplyNo;
	/**目的地*/
	@Excel(name = "目的地", width = 15)
    @ApiModelProperty(value = "目的地")
    private java.lang.String region;
    private transient java.lang.String regionName;
	/**开始时间*/
	@Excel(name = "开始时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private java.util.Date startDate;
	/**结束时间*/
	@Excel(name = "结束时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间")
    private java.util.Date endDate;
	/**财务组织*/
	@Excel(name = "财务组织", width = 15)
    @ApiModelProperty(value = "财务组织")
    private java.lang.String financeDeptId;
    private transient java.lang.String financeDeptIdName;
	/**是否公司配车*/
	@Excel(name = "是否公司配车", width = 15)
    @ApiModelProperty(value = "是否公司配车")
    private java.lang.Boolean isCompanyCar;
    private transient java.lang.String isCompanyCarName;
	/**车牌号*/
	@Excel(name = "车牌号", width = 15)
    @ApiModelProperty(value = "车牌号")
    private java.lang.String plateNumber;
	/**司机*/
	@Excel(name = "司机", width = 15)
    @ApiModelProperty(value = "司机")
    private java.lang.String driver;
    private transient java.lang.String driverName;
	/**费用承担单位*/
	@Excel(name = "费用承担单位", width = 15)
    @ApiModelProperty(value = "费用承担单位")
    private java.lang.String costCompCodeId;
    private transient java.lang.String costCompCodeIdName;
	/**费用承担部门*/
	@Excel(name = "费用承担部门", width = 15)
    @ApiModelProperty(value = "费用承担部门")
    private java.lang.String costDept;
    /**费用承担部门名称*/
    @Excel(name = "费用承担部门名称", width = 15)
    @ApiModelProperty(value = "费用承担部门名称")
    private java.lang.String costDeptName;
    /**附件*/
    @Excel(name = "附件", width = 500)
    @ApiModelProperty(value = "附件")
    private java.lang.String attch;
    /**图片*/
    @Excel(name = "图片", width = 500)
    @ApiModelProperty(value = "图片")
    private java.lang.String picture;

    //审批人id
    private transient String auditManId;
    //审批人
    private transient String auditMan;
    //提交类型:保存:add,提交:send
    private transient String saveType;

    /**事由*/
    @Excel(name = "事由", width = 15)
    @ApiModelProperty(value = "事由")
    private java.lang.String cause;

    @ApiModelProperty(value = "更新时间-用于校验时效性")
    private transient String time;

    /**申请单位ID*/
    @Excel(name = "申请单位ID", width = 15)
    @ApiModelProperty(value = "申请单位ID")
    private java.lang.String companyCodeId;
    private transient java.lang.String companyCodeIdName;

    /**申请部门*/
    @Excel(name = "申请部门", width = 15)
    @ApiModelProperty(value = "申请部门")
    private java.lang.String deptId;
    private transient java.lang.String deptIdName;

    /**出差类型*/
    @Excel(name = "出差类型", width = 15)
    @ApiModelProperty(value = "出差类型")
    private java.lang.Integer type;
    private transient java.lang.String typeName;

    /**申请金额*/
    @Excel(name = "申请金额", width = 15)
    @ApiModelProperty(value = "申请金额")
    private java.math.BigDecimal applyMoney;

    /**交通工具*/
    @Excel(name = "交通工具", width = 15, dicCode = "	ea_vehicle_dict")
    @Dict(dicCode = "ea_vehicle_dict")
    @ApiModelProperty(value = "交通工具")
    private java.lang.String trafficTools;
    private transient java.lang.String trafficToolsName;

    /**流程实例id*/
    @Excel(name = "流程实例id", width = 15)
    @ApiModelProperty(value = "流程实例id")
    private java.lang.String procInstId;
}
